package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.DaoEcologyPointsWalletLogTypeEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author Radish
 * @Description:
 * @date 2024-12-12
 */
@Data
public class AdminDaoEcologyPointsWalletLogPageRequest extends PageRequest {


    @ApiModelProperty(value = "dao id")
    @NotNull(message = "dao id不能为空")
    private Long daoId;

    @ApiModelProperty(value = "钱包Id")
    @NotNull(message = "钱包Id不能为空")
    private Long walletId;

    @ApiModelProperty(value = "加还是减 true加 false减")
    private Boolean isAdd;

    @ApiModelProperty(value = "类型")
    private DaoEcologyPointsWalletLogTypeEnum type;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
